package com.huayal.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huayal.common.utils.PageUtils;
import com.huayal.mall.product.entity.CategoryEntity;
import com.huayal.mall.product.vo.CateLog2JsonVo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author huayal
 * @email efry@qq.com
 * @date 2024-11-01 20:00:04
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> queryPageWithTree(Map<String, Object> params);

    void updateStatusByIds(List<Long> asList);

    List<Long> getCatIds(Long catelogId);

    void updateDetail(CategoryEntity category);

    List<CategoryEntity> getFirstCateGory();


    Map<String, List<CateLog2JsonVo>> getCatelog2JSON();
}

